How to: Connect to SaaS from the Mobile Device
Required settings
LS Central WS URL | This is the main URL to the LS Central RetailWebService web service.
http://Centralhost:PORTNO (ie.7047)/BCINSTANCE(ie.BC210)/WS/COMPANYNAME(ie.CRONUS - LS Central)/Codeunit/RetailWebServices |
LS Central OData URL | The URL to LS Central ODataV4 web service. Get the URI by going to the Web Service Setup page and Actions - Functions - Show OData V4 Uri, copy the URI part up to /%1_%2.
Example: http://Centralhost:7048/BCINSTANCE/ODataV4 |
Tenant ID | Tenant ID is required to obtain oAuth Token. |
Client ID | Enter the user name that was used when creating the Web Service URI, or the Client ID when using oAuth Authentication. |
Client Secret | Enter Client Secret. |
Timeout |
To get settings into the app
The app can now scan a QR code with the above settings to make the data entry easier. Create a QR code with the following json to make it work.
{
"LSCentralWsUrl":"YOUR_SAAS_WS_URL",
"LSCentralODataUrl":"YOUR_SAAS_ODATA_URL",
"LSCentralTenantId":"YOUR_TENANT_ID",
"LSCentralClientId":"YOUR_CLIENT_ID",
"LSCentralClientSecret":"YOUR_Client_SECRET",
"LSCentralTimeout":120,
}